package br.com.fiap.atividade3.pattern;

public class SingletonPatternTest {
	
	public static void main(String[] args) {
		
		SingletonObjectA a1 = new SingletonObjectA();
		SingletonObjectA a2 = new SingletonObjectA();
		
		SingletonObjectB b1 = new SingletonObjectB();
		SingletonObjectB b2 = new SingletonObjectB();
		
		SingletonObjectC c1 = new SingletonObjectC();
		SingletonObjectC c2 = new SingletonObjectC();
		
		System.out.println(a1 == a2);
		System.out.println(b1 == b2);
		System.out.println(c1 == c2);
	}

}
